// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

// 分页获取数据
export const getApprovalSettingsList = params => {
    return postRequest('/approvalSettings/getByPage', params);
};
// 添加
export const addApprovalSettings = params => {
    return postRequest('/approvalSettings/insertOrUpdate', params);
};
// 编辑
export const editApprovalSettings = params => {
    return postRequest('/approvalSettings/insertOrUpdate', params);
};
// 删除
export const deleteApprovalSettings = params => {
    return postRequest('/approvalSettings/delByIds', params);
};
